package net.gdface.face.Entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.sql.Date;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by hewenwen on 2017/11/30.
 *
 * 人员基本描述信息
 *
 */

@Entity
public class fl_person {

    @Id(autoincrement = true)
    private long id;//用户id
    private int  group_id;//所属用户组id
    private String name;//姓名
    private int sex;//性别,0:女,1:男
    private int admin;//是否为管理员,0:否,1:是
    private String birthdate;//出生日期
    private String mobile_phone;//手机号码
    private int papers_type;//证件类型,0:未知,1:身份证,2:护照,3:台胞证,4:港澳通行证,5:军官证,6:外国人居留证,7:员工卡,8:其他'
    private String papers_num;//证件号码
    private String image_md5;//用户默认照片(证件照,标准照)的md5校验码
    private String expiry_date;//验证有效期限(超过期限不能通过验证),为NULL永久有效
    private String create_time;//记录创建时间点

    private String feature_md5;//人脸特征数据MD5

    public String getFeature_md5() {
        return this.feature_md5;
    }

    public void setFeature_md5(String feature_md5) {
        this.feature_md5 = feature_md5;
    }

    public String getCreate_time() {
        return this.create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getExpiry_date() {
        return this.expiry_date;
    }

    public void setExpiry_date(String expiry_date) {
        this.expiry_date = expiry_date;
    }

    public String getImage_md5() {
        return this.image_md5;
    }

    public void setImage_md5(String image_md5) {
        this.image_md5 = image_md5;
    }

    public String getPapers_num() {
        return this.papers_num;
    }

    public void setPapers_num(String papers_num) {
        this.papers_num = papers_num;
    }

    public int getPapers_type() {
        return this.papers_type;
    }

    public void setPapers_type(int papers_type) {
        this.papers_type = papers_type;
    }

    public String getMobile_phone() {
        return this.mobile_phone;
    }

    public void setMobile_phone(String mobile_phone) {
        this.mobile_phone = mobile_phone;
    }

    public String getBirthdate() {
        return this.birthdate;
    }

    public void setBirthdate(String birthdate) {
        this.birthdate = birthdate;
    }

    public int getAdmin() {
        return this.admin;
    }

    public void setAdmin(int admin) {
        this.admin = admin;
    }

    public int getSex() {
        return this.sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getGroup_id() {
        return this.group_id;
    }

    public void setGroup_id(int group_id) {
        this.group_id = group_id;
    }

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    @Generated(hash = 45684237)
    public fl_person(long id, int group_id, String name, int sex, int admin,
            String birthdate, String mobile_phone, int papers_type, String papers_num,
            String image_md5, String expiry_date, String create_time, String feature_md5) {
        this.id = id;
        this.group_id = group_id;
        this.name = name;
        this.sex = sex;
        this.admin = admin;
        this.birthdate = birthdate;
        this.mobile_phone = mobile_phone;
        this.papers_type = papers_type;
        this.papers_num = papers_num;
        this.image_md5 = image_md5;
        this.expiry_date = expiry_date;
        this.create_time = create_time;
        this.feature_md5 = feature_md5;
    }

    @Generated(hash = 731628307)
    public fl_person() {
    }

}
